# Description: VLC, özgür ve açık kaynak kodlu, platformlar arası, bir ortam oynatıcı ve çatıdır.
# URL: http://www.videolan.org/vlc/
# Packager: milisarge@gmail.com
# Depends on: libvlc qt5 x264 flac libmad glib dbus libidn librsvg alsa-lib xorg-libxinerama xorg-libxpm libvpx libcdio vcdimager live libdvdcss libdvdread libdvdnav libogg libtheora lame faac libvorbis ffmpeg faad2 liba52 libmpeg2 libmpcdec fribidi lua libdv speex

name=vlc
version=3.0.0
release=20160606

source=( http://anduin.linuxfromscratch.org/BLFS/$name/$name-$version-$release.tar.xz)
	
build() {

cd $name-$version-$release

sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh

BUILDCC=gcc \
./configure --prefix=/usr \
            --disable-swscale \
            --disable-lua \
            --disable-a52 \
            --disable-avcodec \
            RCC=/usr/bin/rcc-qt5


make
make DESTDIR=$PKG docdir=/usr/share/doc/$name-$version-release install

}
